package com.edu.scau.dao;

import java.util.List;

import com.edu.scau.dao.implement.CommodityDaoImpl;
import com.edu.scau.entity.Commodity;
import com.edu.scau.entity.OrderForm;
import com.edu.scau.entity.ShoppingCart;

public interface ShoppingCartDao {
	public boolean update(ShoppingCart Cart);
	public boolean save(ShoppingCart Cart);
	public boolean delete(ShoppingCart Cart);
	public List<ShoppingCart> queryByUserId(int userId);
//	public boolean addComodityToCart(ShoppingCart cart,Commodity commodity);
	//public boolean delCommodityFromCart(ShoppingCart cart, Commodity commodity);
}
